home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
olrdrs
/
qwkndt1a.zip
/
WAFFLE.SCR
< prev
next >
Wrap
Text File
|
1992-11-06
|
991b
|
41 lines
# Sample script for logging on to a Waffle board running Wafmail.
# Replace YOURNAME and YOURPASS with your username and password.
# This is only a model, and will probably need to be modified to
# some degree.
#
expect "EW:"
send "YOURNAME\r"
expect "ord:"
send "YOURPASS\r"
# Wait for main prompt ("Go, man! >" on this board).
expect "man! >"
# Run Wafmail
send "wafmail\r"
# Beginning of .REP section. Only executed if there is a .REP
# packet waiting.
repbegin
# Wait for Wafmail prompt.
expect ",h] ->"
# Choose "Upload"
send "U"
# Wait for upload prompt.
expect ".TXT)..."
# Upload that puppy.
upload
# End of .REP section.
repend
# Wait for Wafmail prompt.
expect ",h] ->"
# Choose "Download".
send "D"
# Wait for "Send it? Yes, No, Hangup afterward" prompt.
expect "[y,n,H] ->"
# Choose hangup after transfer.
send "H"
# Download that puppy.
download
# Wait for "Press ENTER to hang up immediately"
expect "up immediately."
# Do it.
send "\r"